﻿#region Using Statements
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using TexturedQuad;
#endregion

namespace kinect_music_shooter.GameWorld
{
    class Effect1 : Effecte
    {
        public Effect1(GraphicsDevice pGraphicsDevice)
            : base(pGraphicsDevice)
        {
            scale = 1.1f;
        }

        public override void Update()
        {
            if (counter <= 16)
            {
                scale *= 1.2f;
            }
            else if (counter <= 60)
            {
                scale = 0.4f;
            }
            else
            {
                active = false;
                counter = 0;
            }

            counter++;
            base.Update();
        }
    }
}
